/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LXW
 * Date: 2021-11-30
 * Time: 17:54
 */
public class Demo {
    public static void main(String[] args) {
        Linkedlist linkedlist = new Linkedlist();
        linkedlist.addLast(1);
        linkedlist.addLast(3);
        linkedlist.addLast(3);
        linkedlist.addLast(4);
        linkedlist.addLast(5);
        Listnode ret = linkedlist.removeAllKey(3);
        linkedlist.print(ret);
    }
}
